#ifndef EMPLOYEELEAVEFORM_H
#define EMPLOYEELEAVEFORM_H

#include <QWidget>
#include <QNetworkAccessManager>
#include <QNetworkReply>
#include <QJsonDocument>
#include <QJsonArray>
#include <QMessageBox>
#include <QProgressDialog>
#include "httpmanager.h"


namespace Ui {
class EmployeeLeaveForm;
}

class EmployeeLeaveForm : public QWidget
{
    Q_OBJECT

public:
    explicit EmployeeLeaveForm(QWidget *parent = nullptr);
    ~EmployeeLeaveForm();

private slots:
    void on_pushButton_clicked();

    void on_pushButton_3_clicked();

    void on_StartDate_dateTimeChanged(const QDateTime &dateTime);

    void on_EndDate_dateTimeChanged(const QDateTime &dateTime);

private:
    Ui::EmployeeLeaveForm *ui;
    QNetworkAccessManager *manager; // 网络请求管理器
};

#endif // EMPLOYEELEAVEFORM_H
